package com.ktg.ktgcommon.domain.wms;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class WmPackage {

  private Long packageId;
  private Long parentId;
  private String ancestors;
  private String packageCode;
  private Long barcodeId;
  private String barcodeContent;
  private String barcodeUrl;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date packageDate;

  private String soCode;
  private String invoiceCode;
  private Long clientId;
  private String clientCode;
  private String clientName;
  private String clientNick;
  private Double packageLength;
  private Double packageWidth;
  private Double packageHeight;
  private String sizeUnit;
  private Double netWeight;
  private Double crossWeight;
  private String weightUnit;
  private String inspector;
  private String inspectorName;
  private String status;
  private String enableFlag;
  private String remark;
  private String attr1;
  private String attr2;
  private Long attr3;
  private Long attr4;
  private String createBy;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;

  private String updateBy;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date updateTime;
}